<?php
define("BASE", "http://localhost/tournament/");
define("CACHE_TIME", 1800);
define("MIN_ACTION_TIME", 300);

define("KARMA_TOURNAMENT_WIN", 500);
define("KARMA_MATCH_FINISHED", 100);
define("KARMA_MATCH_WIN", 100);
define("KARMA_COMMENT", 5);
define("KARMA_MATCH_NOT_PLAYED", -500);
define("KARMA_DISQUALIFY_CHEAT", -5000);

define("MATCH_STATUS_NOT_SCHEDULED", 0);
define("MATCH_STATUS_SCHEDULED", 1);
define("MATCH_STATUS_SCORED", 2);
define("MATCH_STATUS_RETURN_WAIT", 3);
define("MATCH_STATUS_RETURN_DRAW", 13);
define("MATCH_STATUS_VALIDATED", 4);

define("TASK_MATCH_SCORED", 1);
define("TASK_MATCH_FINISHED", 2);

define("NOTIFICATION_NEW", 1);
define("NOTIFICATION_ACCEPTED", 2); 
define("NOTIFICATION_REJECTED", 3);

define("IMG_MAX_ALLOWED_SIZE", 400);
define("IMG_PATH", "pictures");
define("IMG_MATCH_PATH", "/match");
define("IMG_COMPLAINTS_PATH", "/complaints");
define("IMG_COMMENTS_PATH", "/comments");
define("IMG_THUMBNAIL_PATH", "/thumb");
define("IMG_THUMBNAIL_WIDTH", 80);

/* MAIL QUEUE */
define("MQ_NUMBER_OF_ROWS_FETCH", 5);
define("MQ_REPLY_MAIL", "no-reply@pes6j.net");
define("MQ_SMTP_HOST", "mail.pes6j.net");
define("MQ_SMTP_PORT", "25");
define("MQ_PRIORITY_HIGH", 3);
define("MQ_PRIORITY_MEDIUM", 2);
define("MQ_PRIORITY_LOW", 1);
?>